<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>登陆</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="css/app.css"/>
	</head>

	<body>
		 <header class="mui-bar mui-bar-nav">
	        <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
	    </header>
	    <div class="mui-content">
	        <div class="mui-content-padded">
	        	<p class="loginText login_sginText">请输入验证码</p>
	        	<div class="mui-input-row mui-password" style="border-bottom: 1px #eee solid;">
	        		<input type="number" name="" id="phoneNum" value="" placeholder="请输入您的手机号" class="mui-pull-left" style="width: 70%;border: none!important;margin-bottom: 10px;"/>
	        		<span class="mui-pull-right getAuthCode" style="line-height:40px;color: #FF8D01;font-size: 18px;">获取验证码</span>
	        	</div>
				<button class="mui-btn-block login_sginBtn">确认</button>
	        </div>
	    </div>
		<script src="js/mui.min.js"></script>
		<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
		<script src="js/test.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			mui.init();
			/*获取验证码*/
			mui('.mui-password').on('tap','.getAuthCode',function(){
				var that=$(this);
				var timer=6;
				var timersMIN;
				var timers=function dataLast(){
					if(timer<1){
						timer==0;
						that.html('获取验证码');
					}else{
						that.html('重发('+timer+'s)');
					}
					--timer;
				}
				var timersLast=setInterval(timers,1000);
			})
			mui('.mui-content-padded').on('tap','button',function(){
				var phoneNum,idcardNum,bankcard;
				mui('.mui-content').on('tap','button',function(){
					phoneNum=document.getElementById('phoneNum').value;
					num(phoneNum,RegPhone);
					if(judge==true){
						//这里跳转
					}
				})
			})
		</script>
	</body>

</html>